package com.agency8x.model.base;

import java.util.Date;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

public class BaseDiamondTransactionModel<M extends BaseDiamondTransactionModel<M>> extends Model<M> implements IBean {

	public M setId(Integer value) {
		set("id", value);
		return (M)this;
	}

	public Integer getId() {
		return get("id");
	}
	public M setAccountId(Integer value) {
		set("account_id", value);
		return (M)this;
	}

	public Integer getAccountId() {
		return get("account_id");
	}
	public M setUserId(Integer value) {
		set("user_id", value);
		return (M)this;
	}

	public Integer getUserId() {
		return get("user_id");
	}
	public M setSponsorUid(Integer value) {
		set("sponsor_uid", value);
		return (M)this;
	}

	public Integer getSponsorUid() {
		return get("sponsor_uid");
	}
	public M setConsumDimondNumber(Integer value) {
		set("consum_dimond_number", value);
		return (M)this;
	}

	public Integer getConsumDimondNumber() {
		return get("consum_dimond_number");
	}
	public M setTransformAmountType(Short value) {
		set("transform_amount_type", value);
		return (M)this;
	}

	public Short getTransformAmountType() {
		return get("transform_amount_type");
	}
	public M setTransformAmount(Integer value) {
		set("transform_amount", value);
		return (M)this;
	}

	public Integer getTransformAmount() {
		return get("transform_amount");
	}
	public M setTradeType(Short value) {
		set("trade_type", value);
		return (M)this;
	}

	public Short getTradeType() {
		return get("trade_type");
	}
	public M setAmount(java.math.BigDecimal value) {
		set("amount", value);
		return (M)this;
	}

	public java.math.BigDecimal getAmount() {
		return get("amount");
	}
	public M setCurrency(String value) {
		set("currency", value);
		return (M)this;
	}

	public String getCurrency() {
		return get("currency");
	}
	public M setSerialNo(String value) {
		set("serial_no", value);
		return (M)this;
	}

	public String getSerialNo() {
		return get("serial_no");
	}
	public M setOutTradeNo(String value) {
		set("out_trade_no", value);
		return (M)this;
	}

	public String getOutTradeNo() {
		return get("out_trade_no");
	}
	public M setPayChannel(String value) {
		set("pay_channel", value);
		return (M)this;
	}

	public String getPayChannel() {
		return get("pay_channel");
	}
	public M setParamstr(String value) {
		set("paramstr", value);
		return (M)this;
	}

	public String getParamstr() {
		return get("paramstr");
	}
	public M setBlance(java.math.BigDecimal value) {
		set("blance", value);
		return (M)this;
	}

	public java.math.BigDecimal getBlance() {
		return get("blance");
	}
	public M setBenefactorId(Integer value) {
		set("benefactor_id", value);
		return (M)this;
	}

	public Integer getBenefactorId() {
		return get("benefactor_id");
	}
	public M setBenefactorGameId(Integer value) {
		set("benefactor_game_id", value);
		return (M)this;
	}

	public Integer getBenefactorGameId() {
		return get("benefactor_game_id");
	}
	public M setBenefactorGameNickname(String value) {
		set("benefactor_game_nickname", value);
		return (M)this;
	}

	public String getBenefactorGameNickname() {
		return get("benefactor_game_nickname");
	}
	public M setGameMactId(Integer value) {
		set("game_mact_id", value);
		return (M)this;
	}

	public Integer getGameMactId() {
		return get("game_mact_id");
	}
	public M setAuditorId(Integer value) {
		set("auditor_id", value);
		return (M)this;
	}

	public Integer getAuditorId() {
		return get("auditor_id");
	}
	public M setParent1Uid(Integer value) {
		set("parent1_uid", value);
		return (M)this;
	}

	public Integer getParent1Uid() {
		return get("parent1_uid");
	}
	public M setParent2Uid(Integer value) {
		set("parent2_uid", value);
		return (M)this;
	}

	public Integer getParent2Uid() {
		return get("parent2_uid");
	}
	public M setChild1Uid(Integer value) {
		set("child1_uid", value);
		return (M)this;
	}

	public Integer getChild1Uid() {
		return get("child1_uid");
	}
	public M setChild2Uid(Integer value) {
		set("child2_uid", value);
		return (M)this;
	}

	public Integer getChild2Uid() {
		return get("child2_uid");
	}
	public M setToAgentLevel(Integer value) {
		set("to_agent_level", value);
		return (M)this;
	}

	public Integer getToAgentLevel() {
		return get("to_agent_level");
	}
	public M setIsAgent(Integer value) {
		set("is_agent", value);
		return (M)this;
	}

	public Integer getIsAgent() {
		return get("is_agent");
	}
	public M setRemark(String value) {
		set("remark", value);
		return (M)this;
	}

	public String getRemark() {
		return get("remark");
	}
	public M setStatus(String value) {
		set("status", value);
		return (M)this;
	}

	public String getStatus() {
		return get("status");
	}
	public M setCreateTime(Date value) {
		set("create_time", value);
		return (M)this;
	}

	public Date getCreateTime() {
		return get("create_time");
	}
	public M setCreateDate(Date value) {
		set("create_date", value);
		return (M)this;
	}

	public Date getCreateDate() {
		return get("create_date");
	}
	public M setDailyDrawCardStatus(String value) {
		set("daily_draw_card_status", value);
		return (M)this;
	}

	public String getDailyDrawCardStatus() {
		return get("daily_draw_card_status");
	}
	public M setGameMactCode(String value) {
		set("game_mact_code", value);
		return (M)this;
	}

	public String getGameMactCode() {
		return get("game_mact_code");
	}
}
